Average sentence length |
---|
21.4541 |
sentence length | percentage |
---|---|
2 | 0.0033 |
3 | 0.2367 |
4 | 0.6200 |
5 | 0.8833 |
6 | 1.3467 |
7 | 1.8033 |
8 | 2.0300 |
9 | 2.4033 |
10 | 2.9400 |
11 | 3.3467 |
12 | 6.0767 |
13 | 3.4867 |
14 | 3.7367 |
15 | 3.7167 |
16 | 3.7400 |
17 | 3.8133 |
18 | 4.0000 |
19 | 3.7167 |
20 | 3.5533 |
21 | 3.3067 |
22 | 3.6000 |
23 | 3.2467 |
24 | 3.2467 |
25 | 3.1633 |
26 | 2.9500 |
27 | 2.6433 |
28 | 2.4100 |
29 | 2.3700 |
30 | 2.1267 |
31 | 2.0400 |
32 | 1.9500 |
33 | 1.8300 |
34 | 1.6867 |
35 | 1.5367 |
36 | 1.3567 |
37 | 1.2133 |
38 | 1.2867 |
39 | 1.1300 |
40 | 1.0000 |
41 | 0.7600 |
42 | 0.7933 |
43 | 0.7200 |
44 | 0.5233 |
45 | 0.4400 |
46 | 0.3667 |
47 | 0.2767 |
48 | 0.2600 |
49 | 0.1867 |
50 | 0.1267 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters